/*
 *
 * Saturn Framework Co.Limt
 * Copyright (c) 2012-2019 tanks, Inc. All rights reserved.
 */
 
package com.saturn.config.server.base.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * <dl>
 *    <dt><b>Title:</b></dt>
 *    <dd>
 *    	none
 *    </dd>
 *    <dt><b>Description:</b></dt>
 *    <dd>
 *    	<p>配置历史版本
 *    </dd>
 *
 * @author tanks
 * @date 2019-07-08 15:58:42
 */
@Data
@TableName("app_version")
@EqualsAndHashCode(callSuper = true)
public class AppVersion extends Model<AppVersion> {
private static final long serialVersionUID = 1L;

  /**
   * ID唯一标识
   */
  @TableId
  private Integer id;
  /**
   * APP应用ID
   */
  private String appId;
  /**
   * 版本
   */
  private String version;
  /**
   * 创建时间
   */
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(iso = DateTimeFormat.ISO.TIME)
  private LocalDateTime createTime;

}
